import request from '@/util/request'

// 系查询
export const getFacultiesAPI = (params) => {
  return request.get('/admin/faculties', { params })
}

// 系添加
export const addFacultyAPI = (data) => {
  return request.post('/admin/faculties', data)
}

// 系更新
export const updateFacultyAPI = (data) => {
  return request.put('/admin/faculties', data)
}

// 系删除
export const deleteFacultyAPI = (params) => {
  return request.delete('/admin/faculties', { params })
}
